sunxi: power: Compile sy8106a driver only during SPL build
authorJernej Skrabec <[email protected]>
Wed, 26 Apr 2017 22:03:34 +0000 (00:03 +0200)
committerMaxime Ripard <[email protected]>
Fri, 28 Apr 2017 07:18:54 +0000 (09:18 +0200)
commitae4e4dde5246cd27d0cce29a64761c33cb4ceee4
tree4fc660483afdabd99da4d5a725d90e86bb11126e
parente8f86a026125ff2b2d6bd6eac73d2542852aab84
sunxi: power: Compile sy8106a driver only during SPL build

Driver for that regulator is used only in SPL and it uses old I2C
interface. If we want to use DM I2C in U-Boot proper, compilation of
this driver has to be limited only to SPL.

Signed-off-by: Jernej Skrabec <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
drivers/power/sy8106a.c